<template>
  <van-nav-bar class="app-header" :fixed="true">
    <template #left>
      <router-link to="/home" class="a"></router-link>
    </template>
    <template #right>
      <router-link to="">
        <van-icon name="search" size="28" color="white" />
      </router-link>
      <router-link to="/login">
        <van-icon name="wap-nav" size="32" color="white" />
      </router-link>
    </template>
  </van-nav-bar>
</template>

<script setup lang="ts"></script>

<style scoped lang="scss">
.app-header {
  background-color: black;
  z-index: 999;
  .a {
    width: 130px;
    height: 25px;
    background-size: 128px;
    background-image: url(../logo/1.png);
  }
  .van-icon-search {
    padding-right: 26px;
  }
}
</style>
